#ifndef _HCC_ERROR_CODE_MID_BSC_ELECTRIC_FENCE_H_
#define _HCC_ERROR_CODE_MID_BSC_ELECTRIC_FENCE_H_

#include "ofc/ofc_types.h"
#include "hcc/hcc_error_code.h"
#include "hcc/hcc_error_code_mid.h"

#ifdef __cplusplus
extern "C" {
#endif

#define HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(error_code) (int)HCC_ERROR(HCC_MAKE_MID_WARE_ERROR(kHccMidWareBsElecFence, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * BSC电子围栏复合组件:BSC电子围栏组件
 */
typedef Int32 THccMidBsElectricFenceError;

#define kBsElectricFenceErrorSuccess	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kBsElectricFenceErrorParams	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(1)	///<参数错误
#define kBsElectricFenceErrorNonentity	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(2)	///<目标不存在
#define kBsElectricFenceErrorMoveState	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(3)	///<获取当前运动状态失败
#define kBsElectricFenceErrorShapeType	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(4)	///<区域类型错误
#define kBsElectricFenceErrorToolIfInvalid	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(5)	///<框架接口集无效
#define kBsElectricFenceErrorChannelInvalid	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(6)	///<存在无效通道
#define kBsElectricFenceErrorPlatfromInvalid	HCC_MAKE_MID_BSC_ELECTRIC_FENCE_ERROR(7)	///<无效平台

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_MID_BSC_ELECTRIC_FENCE_H_
/**
 * @
 */
